import myAxios from "../axios";

// /api/aftersale/test
export function getList(page=1) {
	return myAxios.post("/aftersale/list", {
		cp: page,
		date1: "2022-02-12T12:53:43.545Z",
		date2: "2022-12-12T12:53:43.545Z",
		kw: "",
		ls: 5,
		state: "",
		type: "",
	});
}

// 获取提现记录
// http://47.92.25.81:8081/getmoney/getmoney
export function getmoney() {
	return myAxios.get("/getmoney/getmoney");
}

// 收支明细  /getaccount/list
export function getAccount() {
	return myAxios.get("/getaccount/list");
}

// 获取银行账户信息
// /bankcard/getInfo/1
export function getInfo() {
	return myAxios.get("/bankcard/getInfo/1", {});
}
